package com.example.combwyaq.mvp.di;

import com.example.combwyaq.mvp.contract.PersonalDetailsConteract;
import com.example.combwyaq.mvp.model.PersonalDetailsModel;

import dagger.Module;
import dagger.Provides;

@Module
public class PersonalDetailsModules {
    private PersonalDetailsConteract.IPersonalView iView;

    public PersonalDetailsModules(PersonalDetailsConteract.IPersonalView iView) {
        this.iView = iView;
    }

    @Provides
    public PersonalDetailsConteract.IPersonalView personalView(){
        return iView;
    }
    @Provides
    public PersonalDetailsConteract.IPersonalModel personalModel(PersonalDetailsModel model){
        return model;
    }

}
